<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="layout/header">
</head>
<body>
	<div id="fakeLoader"></div>
	<section class="content-header">
		<h3>患者预约</h3>
		<ol class="breadcrumb">
			<li><i class="fa fa-home"></i>首页</li>
			<li>预约管理</li>
			<li class="active">患者预约</li>
		</ol>
	</section>
	<!-- Main content -->
	<section class="content">
		<div class="box box-primary">
			<div class="box-header with-border">
				<h3 class="box-title">患者预约</h3>
				<button id="return" type="button" class="btn btn-default pull-right">返回</button>
			</div>

			<form id="queryForm" class="form-horizontal">
				<input id="pId" type="hidden" th:value="${pId}" />
				<div class="box-body">
					<div class="form-group">
						<label for="hospital" class="col-md-2 control-label">医院名称<span
							class="colorred">*</span>：
						</label>
						<div class="col-md-4">
							<select id="hospital" name="schedu_hid" bindname="schedu_hid"></select>
						</div>
						<label for="department" class="col-md-2 control-label">科室名称<span
							class="colorred">*</span>：
						</label>
						<div class="col-md-4">
							<select id="department" name="schedu_did" bindname="schedu_did"></select>
						</div>
					</div>
					<div class="form-group">
						<label for="user" class="col-md-2 control-label">医生名称<span
							class="colorred">*</span>：
						</label>
						<div class="col-md-4">
							<select id="user" name="doc_id" bindname="doc_id"></select>
						</div>
						<div class="col-md-6">
							<button id="queryBtn" type="button"
								class="btn btn-warning w100 pull-right">
								<i class="fa fa-search"></i>查询
							</button>
						</div>
					</div>
					<div class="form-group">
						<div id="calendar"></div>
					</div>
				</div>
			</form>
		</div>
	</section>
	<div th:include="layout/footer"></div>
	<script th:if="${projectModel=='dev'}"
		th:src="@{/static/js/business/register/reg.js(v=${#dates.createNow().getTime()})}"></script>
	<script th:if="${projectModel=='product'}"
		th:src="@{/static/js/business/register/reg.js}"></script>
</body>
</html>